<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Wilead\CoreBundle\Form\Extension;

use Symfony\Component\Form\AbstractTypeExtension,
    Symfony\Component\OptionsResolver\OptionsResolverInterface;

/**
 * Description of AbstractDatetimeTypeExtension
 *
 * @author jack
 */
abstract class AbstractDatetimeTypeExtension extends AbstractTypeExtension {

    public function setDefaultOptions(OptionsResolverInterface $resolver) {
        $resolver->setDefaults(array(
            'widget' => 'single_text'
        ));
    }

}

?>
